module.exports = {
  siteMetadata: {
    title: `ScanV`,
    author: {
      name: 'Knownsec',
    },
    description: 'Web monitor',
    siteUrl: `https://www.scanv.com`,
    social: {
      twitter: `knownsec`,
    },
  },
  plugins: [
    {
      resolve: `gatsby-source-filesystem`,
      options: {
        path: `${__dirname}/content/assets`,
        name: `assets`,
      },
    },
    {
      resolve: `gatsby-transformer-remark`,
      options: {
        plugins: [
          {
            resolve: `gatsby-remark-images`,
            options: {
              maxWidth: 590,
            },
          },
          {
            resolve: `gatsby-remark-responsive-iframe`,
            options: {
              wrapperStyle: `margin-bottom: 1.0725rem`,
            },
          },
          `gatsby-remark-prismjs`,
          `gatsby-remark-copy-linked-files`,
          `gatsby-remark-smartypants`,
        ],
      },
    },
    `gatsby-transformer-sharp`,
    `gatsby-plugin-sharp`,
		{
			resolve: `gatsby-plugin-baidu-analytics`,
			options: {
				siteId: "66b52111daddd5682720cf49715bd27e",
				head: false,
			},
		},
    `gatsby-plugin-react-helmet`,
    {
      resolve: `gatsby-plugin-typography`,
      options: {
        pathToConfigModule: `src/utils/typography`,
      },
    },
    {
      resolve: `gatsby-source-mongodb`,
      options: {
        dbName: `cloudmonitor`,
        collection: `news`,
      },
    },
  ],
  proxy: {
    prefix: "/api/v2",
    url: "https://console.scanv.com",
  },
}
